//
//  SSDKEnum.h
//  SuperSDK
//
//  Created by wyht－ios－dev on 15/10/7.
//  Copyright © 2015年 WYHT. All rights reserved.
//

typedef NS_ENUM(NSUInteger, UserAction)
{
    INIT_SUCCESS = 1001,
    INIT_FAIL = 1002,
    LOGIN_SUCCESS = 1101,
    LOGIN_FAIL = 1102,
    ACCOUNTSWITCH_SUCCESS = 1201,
    ACCOUNTSWITCH_FAIL = 1202,
    //android接入返回
    PAUSE_PAGE = 1301,
    
    //下面的消息有些渠道可能不支持
    LOGIN_CANCEL = 1401,

    //对应call函数的回调
    ANTIADDICTION_QUERY = 1402,
    REALNAME_REGISTER = 1403,
    LOGOUT_SUCCESS = 1404,
    EXIT_PAGE = 1405,
    PLATFORM_ENTER = 1406,
};

typedef NS_ENUM(NSUInteger, PayAction)
{
    PAY_SUCCESS = 2001,
    PAY_FAIL = 2002,
    PAY_WAIT_CHECK = 2003,
    //下面的消息有些渠道可能不支持
    PAY_CANCEL = 2004,
};

typedef NS_ENUM(NSUInteger, ErrorAction) {
    PAY_NETWORK_ERROR = 3001,
    PAY_INFO_INCOMPLETE = 3002,
    PAY_PAYING = 3003,
    PAY_USERINFO_FAIL = 3004,
    NEED_UPDATE=3005,
    
    USER_INFO_NULL = 10001,
    SDK_PAY_FAIL = 10002,
    LOCAL_CONFIG_ERROR = 10003,
    GET_USERINFO_FAILED = 10004,
    GET_USERINFO_FROMSERVER_INCOMPLETE = 10005,
    SERVER_RESPONSE_FORMAT_INLLEGAL = 10006,
    SDK_LOGIN_FAILED = 10007,
    GET_ORDERID_ERROR = 10008,
    SDK_LOGOUT_FAILED = 10009,
    SDK_INIT_FAILED = 10010,
    SDK_TOKEN_INVALID = 10011,
    SSDKPAYINFO_INCOMPLETE = 10012,
    ILLEGAL_SUPERSDK_UID = 10013,
    GET_SDKCONFIG_FAILED = 10014,
    NETWORK_TIME_OUT = 10015,
};
